package com.lhd.qd.module.system.resource.dao;

import com.lhd.qd.common.base.BaseMapper;
import com.lhd.qd.module.system.resource.model.dataobj.ResourceDO;

import java.util.List;
import java.util.Map;

public interface ResourceMapper extends BaseMapper<ResourceDO> {

    List<ResourceDO> selectMenuListByRoleId(Long roleId);

    String[] selectOperatePermissionListByRoleId(Long roleId);

    List<Map<String, String>> selectOperatePermissionListWithMenuByRoleId(Long roleId);
}
